package com.vision.sales.cm.serv.rpc;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.sencha.gxt.data.shared.loader.PagingLoadResult;
import com.vision.core.cm.serv.rpc.AbstractServiceAsync;
import com.vision.sales.cl.ui.component.TransactionLoadConfig;
import com.vision.sales.cm.data.TransactionStatus;
import com.vision.sales.cm.db.data.DebitMemo;

/**
 * 
 * @author Mark
 *
 */
public interface DebitMemoServiceAsync extends AbstractServiceAsync<DebitMemo> {
	
	void getList(TransactionLoadConfig config, AsyncCallback<PagingLoadResult<DebitMemo>> callback);
	
	void getDebitMemos(TransactionStatus status, AsyncCallback<List<DebitMemo>> callback);
	
	void postDebitMemos(List<DebitMemo> invoices, AsyncCallback<List<DebitMemo>> callback);

}
